of

open fun of(number: Int): MouseEvent.Button

Returns the Button instance for the given value.

Throws

when there is no button associated with the given value